<?php $this->load->view('includes/header'); ?>
<BODY>
<div class="ui-tabs-panel ui-widget-header">

<TABLE BORDER="0"> 
<tr>
<th><div align="top"><IMG SRC= '<?php echo base_Url()?>img/logo2.png' WIDTH=240 HEIGHT=40 BORDER=0 ALT="" ALIGN="left"></div></th>
</tr>
<tr>
</tr>
<tr>
<th><div align="top"><IMG SRC= '<?php echo base_Url()?>img/login2.png' WIDTH=140 HEIGHT=34 BORDER=0 ALT="" ALIGN="left"></div></th>
</tr>
</TABLE>





</div>
<?php echo form_open('index.php/authentication_controller/login'); ?>

<div class="ui-tabs-panel ui-widget-header">
			<p>
				<label>&nbsp&nbsp Username &nbsp </label>
				<?php echo form_input(array('id' => 'username','name' => 'username', "size" => "13"));?>
			</p>
			<p>
				<label>&nbsp&nbsp Password &nbsp</label>
				<?php echo  form_password(array('id' => 'password','name' => 'password', "size" => "14"));?>
			</p>
</div>

<div class="ui-tabs-panel ui-widget-header">
<?php if($this->session->userdata('validation')==FALSE){
	echo validation_errors();
} 
?>
<?php 
 if($loginErr==true){
 	echo 'Wrong username or password';
 }
  ?>
</div>
<div class="ui-tabs-panel ui-widget-header">
<div class="button1">
 <p>
<?php echo form_submit(array('name' => 'submit','class'=>'ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only'),'Login'); ?>
</p>
</div> 
</div>
<?php echo form_close(); ?>
</BODY>
</HTML>